SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 43960: Export as a Step in Project might generate an Application Error in SAS® Enterprise Guide® when the graph format is JPEG

DetailsAboutRate It

An Application Error similar to the one below might occur when using Export as a Step in Project/Process Flow. This will most likely occur when JPEG is selected as the Graph Format.

To circumvent the problem go to Tools ► Options ► Results ► Graph, and then change the Graph Format to PNG.

SAS Enterprise Guide has encountered a problem.  We recommend that you save your
work and restart SAS Enterprise Guide.

------------------------------------------------------------------------------------

System.NullReferenceException

Object reference not set to an instance of an object.

------------------------------ Technical Information Follows -----------------------

System.NullReferenceException: Object reference not set to an instance of an
object.
   at SAS.EG.ProjectElements.SubmitableElement.SetupGraphOptions(SasGraphDevice
graphDevice, ResultManager resultManager, Server sdsServer)
   at
SAS.EG.ProjectElements.SubmitableElement.SetupGlobalResultManager(ResultManager
resultManager, Server sdsServer)
   at
SAS.EG.ProjectElements.CodeExportHelper.GenerateExportCode(ProjectCollection
project, List`1 elements, Boolean includeHeaders, Boolean includeGeneratedCode,
Boolean includeCustomCode, Boolean includeLibraryAssignmentCode)
   at SAS.EG.ProjectElements.Forms.ExportCodePage.GetExportCode()
   at SAS.EG.ProjectElements.Forms.ExportCodePage.UpdateExportEditor()
   at SAS.EG.ProjectElements.Forms.ExportCodePage.OnItemChecked(Object sender,
ItemCheckedEventArgs e)
   at System.Windows.Forms.ListView.OnItemChecked(ItemCheckedEventArgs e)
   at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
   at System.Windows.Forms.ListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)

------------------------------ End of Technical Information  ------------------------



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft® Windows® for x644.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition4.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition4.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x644.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 20084.35.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x644.35.19.2 TS2M39.3 TS1M0
Microsoft Windows XP Professional4.35.19.2 TS2M39.3 TS1M0
Windows 7 Enterprise 32 bit4.35.19.2 TS2M39.3 TS1M0
Windows 7 Enterprise x644.35.19.2 TS2M39.3 TS1M0
Windows 7 Home Premium 32 bit4.35.19.2 TS2M39.3 TS1M0
Windows 7 Home Premium x644.35.19.2 TS2M39.3 TS1M0
Windows 7 Professional 32 bit4.35.19.2 TS2M39.3 TS1M0
Windows 7 Professional x644.35.19.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit4.35.19.2 TS2M39.3 TS1M0
Windows 7 Ultimate x644.35.19.2 TS2M39.3 TS1M0
Windows Vista4.35.19.2 TS2M39.3 TS1M0
Windows Vista for x644.35.19.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.